package com.fowo.api.inventory.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import javax.validation.constraints.*;
import lombok.Data;

/** 库存辅助单位表 导入导出辅助模型 */
@Data
public class InventoryAuxUnitExcelPo {

  @Size(max = 50, message = "单位编码长度不能超过20")
  @ExcelProperty(value = "单位编码")
  private String code;

  @Size(max = 50, message = "单位名称长度不能超过20")
  @ExcelProperty(value = "单位名称")
  private String name;

  @Size(max = 50, message = "显示单位前缀长度不能超过20")
  @ExcelProperty(value = "显示单位前缀")
  private String prefix;

  @Size(max = 50, message = "显示单位后缀长度不能超过20")
  @ExcelProperty(value = "显示单位后缀")
  private String suffix;

  @ExcelProperty(value = "与库存单位的倍数关系")
  private java.math.BigDecimal multiple;
}
